package org.sdp.pearproject.controller;


import org.sdp.pearproject.dto.request.*;
import org.sdp.pearproject.dto.response.*;
import org.sdp.pearproject.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: ProjectAuthSuperController
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-20
 * @Version: 1.0
 * Table: pear_project_auth
 * Comment:
 * 项目权限表
 */
public class ProjectAuthSuperController extends BaseController {
    @Autowired
    ProjectAuthService service;

    public Integer addProjectAuth(ProjectAuthAddRequest request) throws Exception {
        return service.addProjectAuth(request);
    }

    public Integer updateProjectAuth(ProjectAuthUpdateRequest request) throws Exception {
        return service.updateProjectAuth(request);
    }

    public Integer deleteProjectAuth(ProjectAuthDeleteRequest request) throws Exception {
        return service.deleteProjectAuth(request);
    }

    public ProjectAuthQueryResponse queryProjectAuth(ProjectAuthQueryRequest request) throws Exception {
        return service.queryProjectAuth(request);
    }

    public List<ProjectAuthQueryResponse> listProjectAuth(ProjectAuthQueryRequest request) throws Exception {
        return service.listProjectAuth(request);
    }

    public Integer countProjectAuth(ProjectAuthQueryRequest request) throws Exception {
        return service.countProjectAuth(request);
    }

    public BaseStatResponse statProjectAuth(ProjectAuthQueryRequest request) throws Exception {
        return service.statProjectAuth(request);
    }


}
